package com.scujj.cs6.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.scujj.cs6.model.entity.WeatherForecast;
import com.scujj.cs6.model.entity.WeatherForecastWithCities;
import com.scujj.cs6.model.vo.WeatherForecastVo;
import com.scujj.cs6.model.vo.WeatherForecastWithCitiesVo;
import com.scujj.cs6.service.WeatherForecastService;
import com.scujj.cs6.mapper.WeatherForecastMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author FlanChan
* @description 针对表【weather_forecast】的数据库操作Service实现
* @createDate 2025-04-08 14:46:36
*/
@Service
public class WeatherForecastServiceImpl extends ServiceImpl<WeatherForecastMapper, WeatherForecast>
    implements WeatherForecastService{

    @Override
    public List<WeatherForecastWithCities> getForecastWithCitiesByAdCode(List<String> adcodeList, int beforeSize) {
        return this.baseMapper.selectForecastWithCities(adcodeList,beforeSize);
    }
}




